<%= javascript_include_tag 'pagination' %>
<%= render :partial => 'jquery_calls' %>

<div class="container not-right">
	<div class="row">

			<div class="bread-crumbs products">
				<div class="container">
					<div class="row">
						<ul>
							<li class="crumb"><a href="<%= root_url %>">Home</a></li>
							<li><i class="fa fa-angle-double-right"></i></li>
							<li class="current-crumb">Cat&aacute;logo</li>
						</ul>
					</div>
				</div>
			</div>


			<aside class="col-md-3 not-left">
                <% if !signed_in? || (signed_in? && !current_user.admin? && !current_user.client.kvn_branch) %>
				<div class="widget">
					<h2 id="not-top"><span class="bord">MARCAS</span></h2>
                    <%= render :partial => 'brand_list' %>
				</div>
                <% end %>

				<div class="widget">
					<h2 id="not-top"><span class="bord">FILTROS</span></h2>
                    <%= render :partial => 'category_list', :locals => { :categories => @categories } %>
				</div>






			</aside>
			<section class="col-md-9 padding-bottom">







	<div class="tab-content">
		<div class="tab-pane active" id="home">
				<div id="product-list" class="row list-group dd">
                     <%  unless @products.blank? %>
                        <%= render :partial => 'product_list', :locals => { :products => @products } %>
                     <% else %>
                        No hay productos que coincidan con los filtros seleccionados.
                     <% end %>
				</div>
		</div>
		<div class="tab-pane" id="profile">
			<div class="line">

                    <!--<div id="product-pagination">
                        <%#= will_paginate @products %>
                    </div> -->

                    <div id="product-pagination" class="col-md-4 filter-page" style="">
                        <%= will_paginate @products, :previous_label => '<', :next_label => '>' unless @products.blank? %>
					</div>
				</div>
	</div>

			</section>


	</div>
		</div>










<!--<div id="category-list">
  <h1>FILTROS</h1>

</div>

<div id="product-list" class="clearfix">
    <%#= render :partial => 'product_list', :locals => { :products => @products } %>
</div>

<div id="product-pagination">
    <%#= will_paginate @products %>
</div> -->


